#define _CRT_SECURE_NO_WARNINGS 1

#include"MergeSort.h"

void test_MergeSortNonR()
{
	int a[] = { 10,9,8,7,6,5,4,3,2,1,0 };
	size_t size = sizeof(a) / sizeof(a[0]);
	PrintArray(a, size);
	MergeSortNonR(a, size);
	PrintArray(a, size);
	/*int* a1 = a;
	printf("%zd",sizeof(&a[0]));*/
}

void test_MergeSort()
{
	int a[] = { 10,9,8,7,6,5,4,3,2,1,0 };
	size_t size = sizeof(a) / sizeof(a[0]);
	PrintArray(a,size);
	MergeSort(a,size);
	PrintArray(a,size);
	/*int* a1 = a;
	printf("%zd",sizeof(&a[0]));*/
}

int main()
{
	//test_MergeSort();
	test_MergeSortNonR();

	return 0;
}